/* 文件图标样式 */
.file-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.file-icon.folder {
    color: #ffa03a;
}

.file-icon.file {
    color: #1890ff;
}

.file-name-cell {
    display: flex;
    align-items: center;
}

/* 文件类型标签样式 */
.type-tag {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    color: white;
}

.type-tag.folder {
    background-color: #ffa03a;
}

.type-tag.file {
    background-color: #1890ff;
}

/* 权限显示样式 */
.permissions {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 2px;
}

/* 文件大小对齐 */
.file-size {
    text-align: right;
}

/* 右键菜单样式 */
.context-menu {
    position: fixed;
    background: white;
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    padding: 1px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    min-width: 110px;
    display: none;
    cursor: pointer;
}

.context-menu-item {
    padding: 2px 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

.context-menu-item i {
    margin-right: 8px;
    width: 20px;
}

.context-menu-separator {
    height: 1px;
    background-color: #e6e6e6;
    margin: 4px 0;
}